import type { FormRules  } from "element-plus";
import type { MaybeRef } from "vue";
/**
 * 表单搜索参数
 */
export interface DataForwardParseSelectParams{
    pageSize: number
    pageNum: number
}


/**
 * 解算服务数据
 */
export interface DataForwardParseServer {
    id?: number;
    parseName: string;
    ip:string;
    port: undefined | number;
    remark?: string | undefined;
    createdAt?: string;
    updatedAt?: string;
}

/** 表单 */
export interface DataForm<T extends MaybeRef<string | Record<string, any>>> {
    loading: boolean;
    title: string;
    data: T;
    rules: FormRules<T>
}

/**
 * 表格数据
 */
export interface TableData{
    loading: boolean;
    data: DataForwardParseServer[];
    total: number;
    pageSize: number;
    pageNum: number;
}




